home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000349_fdc@columbia.edu_Sun Oct 26 16:16:03 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-11-18
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit losing first byte of tcp connection
Date: 26 Oct 2003 21:12:55 GMT
Organization: Columbia University
Lines: 26
Message-ID: <slrnbpoe6n.77a.fdc@sesame.cc.columbia.edu>
References: <slrnbpnrjt.bg5.lars@news.oddbit.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1067202775 27676 128.59.59.56 (26 Oct 2003 21:12:55 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 Oct 2003 21:12:55 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14602
In article <slrnbpnrjt.bg5.lars@news.oddbit.com>, Lars Kellogg-Stedman wrote:
: I'm using kermit to script some tests of our SMTP server. When one
: connects to an SMTP server, the server immediately sends something along
: the lines of:
:
: 220 <server> ESMTP <software>
:
: With kermit, I always lose the first byte, so that instead I see:
:
: 20 <server> ESMTP <software>
:
: This means that commands such as the following will fail:
:
: input 10 \fpattern(220 *)\13
:
: Is there anything I can do to prevent this from happening?
:
What command did you use make the connection? I suspect you must have
unintentionally forced Kermit to use Telnet protocol, which most (if not
all) Port 25 servers do not support. Try:
set host <hostname> 25 /raw-socket
Note that Kermit's TELNET command forces the use of Telnet protocol.
- Frank